@layout("/common/_container.html"){
<div class="row">
    <!-- 进货单据开始 -->
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>进货单据查询</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="orderNumber" name="订单号码" />
                            </div>
                            <div class="col-sm-3">
                                <#NameCon id="remarks" name="备注信息" />
                            </div>
                            <div class="col-sm-3">
                                <#SelectCon id="state" name="是否支付"/>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3">
                                <#TimeCon id="bDate" name="开始日期"/>
                            </div>
                            <div class="col-sm-3">
                                <#TimeCon id="eDate" name="结束日期"/>
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="PurchaseGoods.search()"/>
                                <#button name="清空" icon="fa-search" clickFun="PurchaseGoods.clear()"/>
                            </div>
                        </div>
                        <div class="row">
                            @if(shiro.hasPermission("/purchaseGoods/detail")){
                            <#button name="订单详情" icon="fa-remove" clickFun="PurchaseGoods.openPurchaseDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/purchaseGoods/delete")){
                            <#button name="订单删除" icon="fa-remove" clickFun="PurchaseGoods.delete()" space="true"/>
                            @}
                        </div>
                        <div class="row">
                            <#table id="PurchaseListTableId"/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/purchase/purchaseGoods/purchaseGoods.js"></script>
<script>
    laydate.render({
        elem: '#bDate',
        type: 'date'
    });
    laydate.render({
        elem: '#eDate',
        type: 'date'
    });
</script>
@}
